package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 任务报送对象 task
 * 
 * @author ruoyi
 * @date 2024-06-28
 */
public class Task extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 任务编号 */
    @Excel(name = "任务编号")
    private String taskid;

    /** 仪器型号 */
    @Excel(name = "仪器型号")
    private String devicetype;

    /** 仪器编码 */
    @Excel(name = "仪器编码")
    private String devicenum;

    /** 送检人电话 */
    @Excel(name = "送检人电话")
    private String telphone;

    /** 送检单位 */
    @Excel(name = "送检单位")
    private String companyname;

    /** $column.columnComment */
    private String contactperson;

    /** $column.columnComment */
    private String sddate;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String address;

    /** 送检日期 */
    @Excel(name = "送检日期")
    private Long state;

    /** 仪器类别 */
    @Excel(name = "仪器类别")
    private String devicemodel;

    /** $column.columnComment */
    private String calibedTime;

    /** 送检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "送检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ReceiveTime;

    /** $column.columnComment */
    private Long Urgent;

    /** 生产商 */
    private String Producer;

    /** 具体分类 */
    private String SpecificClass;

    /** 备件清单 */
    private String SpareParts;

    /** 维修日期 */
    private Date MaintainTime;

    /** 维修人员 */
    private String MaintainPerson;
    /** 校准编号 */
    private String calibration;
    /** 送检人 */
    @Excel(name = "送检人")
    private String TaskIssuePerson;

    /** $column.columnComment */
    private Date StartWorkData;

    /** $column.columnComment */
    private String MaintainRemark;


    /** 使用备件 */
    private String MaintainUserParts;

    /** 维修次数 */
    private Long MaintainCount;

    /** 报表是否生成 */
    private Long ReportGenerated;

    /** 登记操作人员账号 */
    private String RegisterPerson;

    /** 只读式流速仪类型：电波、超声、流速流向仪、海流计 */
    private String DStype;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskid(String taskid) 
    {
        this.taskid = taskid;
    }

    public String getTaskid() 
    {
        return taskid;
    }
    public void setDevicetype(String devicetype) 
    {
        this.devicetype = devicetype;
    }

    public String getDevicetype() 
    {
        return devicetype;
    }
    public void setDevicenum(String devicenum) 
    {
        this.devicenum = devicenum;
    }

    public String getDevicenum() 
    {
        return devicenum;
    }
    public void setTelphone(String telphone) 
    {
        this.telphone = telphone;
    }

    public String getCalibration() {
        return calibration;
    }

    public void setCalibration(String calibration) {
        this.calibration = calibration;
    }

    public String getTelphone()
    {
        return telphone;
    }
    public void setCompanyname(String companyname) 
    {
        this.companyname = companyname;
    }

    public String getCompanyname() 
    {
        return companyname;
    }
    public void setContactperson(String contactperson) 
    {
        this.contactperson = contactperson;
    }

    public String getContactperson() 
    {
        return contactperson;
    }
    public void setSddate(String sddate) 
    {
        this.sddate = sddate;
    }

    public String getSddate() 
    {
        return sddate;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setDevicemodel(String devicemodel) 
    {
        this.devicemodel = devicemodel;
    }

    public String getDevicemodel() 
    {
        return devicemodel;
    }
    public void setCalibedTime(String calibedTime) 
    {
        this.calibedTime = calibedTime;
    }

    public String getCalibedTime() 
    {
        return calibedTime;
    }
    public void setReceiveTime(Date ReceiveTime) 
    {
        this.ReceiveTime = ReceiveTime;
    }

    public Date getReceiveTime() 
    {
        return ReceiveTime;
    }
    public void setUrgent(Long Urgent) 
    {
        this.Urgent = Urgent;
    }

    public Long getUrgent() 
    {
        return Urgent;
    }
    public void setProducer(String Producer)
    {
        this.Producer = Producer;
    }

    public String getProducer()
    {
        return Producer;
    }
    public void setSpecificClass(String SpecificClass)
    {
        this.SpecificClass = SpecificClass;
    }

    public String getSpecificClass() 
    {
        return SpecificClass;
    }
    public void setSpareParts(String SpareParts) 
    {
        this.SpareParts = SpareParts;
    }

    public String getSpareParts() 
    {
        return SpareParts;
    }
    public void setMaintainTime(Date MaintainTime) 
    {
        this.MaintainTime = MaintainTime;
    }

    public Date getMaintainTime() 
    {
        return MaintainTime;
    }
    public void setMaintainPerson(String MaintainPerson) 
    {
        this.MaintainPerson = MaintainPerson;
    }

    public String getMaintainPerson() 
    {
        return MaintainPerson;
    }
    public void setTaskIssuePerson(String TaskIssuePerson) 
    {
        this.TaskIssuePerson = TaskIssuePerson;
    }

    public String getTaskIssuePerson() 
    {
        return TaskIssuePerson;
    }
    public void setStartWorkData(Date StartWorkData) 
    {
        this.StartWorkData = StartWorkData;
    }

    public Date getStartWorkData() 
    {
        return StartWorkData;
    }
    public void setMaintainRemark(String MaintainRemark) 
    {
        this.MaintainRemark = MaintainRemark;
    }

    public String getMaintainRemark() 
    {
        return MaintainRemark;
    }
    public void setMaintainUserParts(String MaintainUserParts) 
    {
        this.MaintainUserParts = MaintainUserParts;
    }

    public String getMaintainUserParts() 
    {
        return MaintainUserParts;
    }
    public void setMaintainCount(Long MaintainCount) 
    {
        this.MaintainCount = MaintainCount;
    }

    public Long getMaintainCount() 
    {
        return MaintainCount;
    }
    public void setReportGenerated(Long ReportGenerated) 
    {
        this.ReportGenerated = ReportGenerated;
    }

    public Long getReportGenerated() 
    {
        return ReportGenerated;
    }
    public void setRegisterPerson(String RegisterPerson) 
    {
        this.RegisterPerson = RegisterPerson;
    }

    public String getRegisterPerson() 
    {
        return RegisterPerson;
    }
    public void setDStype(String DStype) 
    {
        this.DStype = DStype;
    }

    public String getDStype() 
    {
        return DStype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskid", getTaskid())
            .append("devicetype", getDevicetype())
            .append("devicenum", getDevicenum())
            .append("telphone", getTelphone())
            .append("companyname", getCompanyname())
            .append("contactperson", getContactperson())
            .append("sddate", getSddate())
            .append("address", getAddress())
            .append("state", getState())
            .append("devicemodel", getDevicemodel())
            .append("calibedTime", getCalibedTime())
            .append("ReceiveTime", getReceiveTime())
            .append("Urgent", getUrgent())

            .append("Producer", getProducer())
            .append("SpecificClass", getSpecificClass())
            .append("SpareParts", getSpareParts())
            .append("MaintainTime", getMaintainTime())
            .append("MaintainPerson", getMaintainPerson())
            .append("TaskIssuePerson", getTaskIssuePerson())
            .append("StartWorkData", getStartWorkData())
            .append("MaintainRemark", getMaintainRemark())
            .append("MaintainUserParts", getMaintainUserParts())
            .append("MaintainCount", getMaintainCount())
            .append("ReportGenerated", getReportGenerated())
            .append("RegisterPerson", getRegisterPerson())

            .append("DStype", getDStype())
            .toString();
    }
}
